<%--
  Created by IntelliJ IDEA.
  User: xdzy
  Date: 2017/4/10
  Time: 21:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib  uri="/struts-tags" prefix="s" %>
<!DOCTYPE html>
<html class="no-js fixed-layout">
<head>
    <base href="<%=basePath%>">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>我的资料</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <link rel="stylesheet" href="./resources/css/amazeui.min.css"/>
    <link rel="stylesheet" href="./resources/css/admin.css">
    <link rel="stylesheet" href="./resources/css/style.css">
</head>
<body>
<jsp:include page="common1.jsp"/>
            <div class="am-cf am-padding">
                <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">我的资料</strong></div>
            </div>
            <div class="am-g">
                <div class="am-u-sm-12 am-u-md-11">
                    <div class="am-panel am-panel-default">
                        <div class="am-panel-bd">

                        <a href="./user/user_editUI.action">编辑资料</a>
                            <table style="font-size: 20px">
                                <tbody>
                                <tr>
                                    <td>
                                        <img width="100" height="100" src="./resources/images/${requestScope.myinfo.headImg}" alt="">
                                    </td>
                                </tr>
                                <tr>
                                    <td  style="width: 20%">账号</td>
                                    <td>${requestScope.myinfo.username}</td>
                                </tr>
                                <tr>
                                    <td>昵称</td>
                                    <td>${requestScope.myinfo.nickName}</td>
                                </tr>
                                <tr>
                                    <td>性别</td>
                                     <s:if test="#request.myinfo.sex==0">
                                      <td>
                                                                                             女
                              </td>
                                    </s:if>
                                    <s:else>
                                    <td>
                                                                      男
                              </td>
                              </s:else>
                              </tr>
                              <tr>
                               <s:if test="#request.myinfo.birthday!=null">
                             <td>生日</td>
                             <td>${requestScope.myinfo.birthday}</td>
                               </s:if>
                             </tr>

                             <tr>
                              <s:if test="#request.myinfo.email!=null">
                           <td>电子邮件</td>
                             <td>${requestScope.myinfo.email}</td>
                             </s:if>
                             </tr>
                             <tr>
                             <s:if test="#request.myinfo.detail!=null">
                                <td>个人说明</td>
                             <td>${requestScope.myinfo.detail}</td>
                              </s:if>
 </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>



        <jsp:include page="common2.jsp" />
</body>
</html>
                             